package com.project.xsf.controller;

import com.project.xsf.entity.MProcedureModuling;
import com.project.xsf.mapper.MProcedureModulingMapper;
import com.project.xsf.service.MProcedureModulingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/mProcedureModuling")
public class MProcedureModulingController {
    @Autowired
    private MProcedureModulingService mProcedureModulingService;
    @PostMapping("/queryMProcedureModulingByPId.action")
    public List<MProcedureModuling> queryMProcedureModulingByPId(Integer pId){
        return mProcedureModulingService.queryMProcedureModulingByPId(pId);
    }
}
